Skip to content

Commit 58ebbec

Browse files
committed
wip
1 parent bf2b48d commit 58ebbec

File tree

1 file changed

+36
-2
lines changed

1 file changed

+36
-2
lines changed

openapi.json

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@
9292
"tokens": {
9393
"type": "array",
9494
"items": {
95-
"type": "string",
96-
"example": "SPTBXPQFKRNB2NEKBNXJ42KON6VMVME7M82IK5JX3JX7HISC34KU2LVNC4NVXLLB"
95+
"$ref": "#/components/schemas/Token"
9796
},
9897
"description": "The recurring payment tokens. Provided only for the initial recurring payment."
9998
}
@@ -912,6 +911,41 @@
912911
"example": "Guillaume Tell"
913912
}
914913
}
914+
},
915+
"Token": {
916+
"type": "string",
917+
"example": "SPTBXPQFKRNB2NEKBNXJ42KON6VMVME7M82IK5JX3JX7HISC34KU2LVNC4NVXLLB"
918+
},
919+
"TokenTransaction": {
920+
"type": "object",
921+
"allOf": [
922+
{
923+
"$ref": "#/components/schemas/Transaction"
924+
},
925+
{
926+
"type": "object",
927+
"properties": {
928+
"threeDSReqAuthMethod": {
929+
"type": "string",
930+
"example": "02"
931+
},
932+
"type": {
933+
"type": "string",
934+
"example": "MIT"
935+
},
936+
"token": {
937+
"$ref": "#/components/schemas/Token"
938+
},
939+
"total": {
940+
"type": "number",
941+
"default": 0,
942+
"exclusiveMinimum": true,
943+
"minimum": 0,
944+
"example": 25.0
945+
}
946+
}
947+
}
948+
]
915949
}
916950
}
917951
}

0 commit comments

Comments
 (0)