Skip to content

Commit cc4203a

Browse files
U: v3/pay/[acquiring-bank|partner]/transactions/exposure
1 parent 607acb2 commit cc4203a

4 files changed

Lines changed: 13 additions & 1 deletion

File tree

docs/v3/pay/acquiring-bank/transactions/exposure.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
post:
2-
x-last-updated-at: 2025.04.18
2+
x-last-updated-at: 2026.03.26
33
x-role:
44
- 从业机构
55
tags:
@@ -51,6 +51,10 @@ post:
5151
type: string
5252
description: 用户手机号的哈希值
5353
example: ABDEF3445546456B
54+
merchant_openid:
55+
type: string
56+
description: 用户标识(商户)
57+
example: oUpF8uMuAJO_M2pxb1Q9zNjWeS6o
5458
out_trade_no:
5559
type: string
5660
description: 商户订单号

docs/v3/pay/partner/transactions/exposure.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ post:
4747
type: string
4848
description: 用户手机号的哈希值
4949
example: ABDEF3445546456B
50+
sub_openid:
51+
type: string
52+
description: 用户子商户标识
53+
example: oUpF8uMuAJO_M2pxb1Q9zNjWeS6o
5054
out_trade_no:
5155
type: string
5256
description: 商户订单号

src/V3/Pay/AcquiringBank/Transactions/Exposure.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function post(array $options = [
2424
'payer' => [
2525
'acquiring_bank_openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
2626
'phone_number_hash' => 'ABDEF3445546456B',
27+
'merchant_openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
2728
],
2829
'out_trade_no' => '1217752501201407033233368018',
2930
],
@@ -44,6 +45,7 @@ public function postAsync(array $options = [
4445
'payer' => [
4546
'acquiring_bank_openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
4647
'phone_number_hash' => 'ABDEF3445546456B',
48+
'merchant_openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
4749
],
4850
'out_trade_no' => '1217752501201407033233368018',
4951
],

src/V3/Pay/Partner/Transactions/Exposure.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public function post(array $options = [
2323
'payer' => [
2424
'sp_openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
2525
'phone_number_hash' => 'ABDEF3445546456B',
26+
'sub_openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
2627
],
2728
'out_trade_no' => '1217752501201407033233368018',
2829
],
@@ -42,6 +43,7 @@ public function postAsync(array $options = [
4243
'payer' => [
4344
'sp_openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
4445
'phone_number_hash' => 'ABDEF3445546456B',
46+
'sub_openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
4547
],
4648
'out_trade_no' => '1217752501201407033233368018',
4749
],

0 commit comments

Comments
 (0)